package edu.zut.hb.ambition.purchase.domain;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Column;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 用品采购对象 purchase
 */
public class Purchase extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 序号 */
    @Column(name = "caigouid")
    private String caigouid;


    @Column(name = "caigouname")
    private String caigouname;


    @Column(name = "gonghuoshang")
    private String gonghuoshang;


    @Column(name = "danwei")
    private String danwei;


    @Column(name = "candi")
    private String candi;


    @Column(name = "leixing")
    private String leixing;


    @Column(name = "shuliang")
    private String shuliang;

    public void setCaigouid(Long caigouid)
    {
        this.caigouid = caigouid;
    }

    public Long getCaigouid()
    {
        return caigouid;
    }
    public void setCaigouname(String caigouname)
    {
        this.caigouname = caigouname;
    }

    public String getCaigouname()
    {
        return caigouname;
    }
    public void setGonghuoshang(String gonghuoshang)
    {
        this.gonghuoshang = gonghuoshang;
    }

    public String getGonghuoshang()
    {
        return gonghuoshang;
    }
    public void setDanwei(String danwei)
    {
        this.danwei = danwei;
    }

    public String getDanwei()
    {
        return danwei;
    }
    public void setCandi(String candi)
    {
        this.candi = candi;
    }

    public String getCandi()
    {
        return candi;
    }
    public void setLeixing(String leixing)
    {
        this.leixing = leixing;
    }

    public String getLeixing()
    {
        return leixing;
    }
    public void setShuliang(String shuliang)
    {
        this.shuliang = shuliang;
    }

    public String getShuliang()
    {
        return shuliang;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("caigouid", getCaigouid())
                .append("caigouname", getCaigouname())
                .append("gonghuoshang", getGonghuoshang())
                .append("danwei", getDanwei())
                .append("candi", getCandi())
                .append("leixing", getLeixing())
                .append("shuliang", getShuliang())
                .toString();
    }
}
